package com.css.fxfzcpxx.modules.earthquakeDisaster.service;

import com.css.fxfzcpxx.modules.earthquakeDisaster.entity.EarthquakeDisaster;
import com.css.fxfzcpxx.modules.earthquakeDisaster.param.EarthquakeDisasterParam;
import com.css.fxfzcpxx.modules.earthquakeDisaster.vo.BasicDataSystemInfoVo;
import com.css.fxfzcpxx.modules.earthquakeDisaster.vo.EarthquakeDisasterVO;

import javax.servlet.http.HttpServletResponse;
import java.io.InputStream;
import java.util.List;
import java.util.Map;

public interface EarthquakeDisasterService {
    Map<String, Object> getPage(int curPage, int pageSize, EarthquakeDisasterParam param);

    EarthquakeDisasterVO findById(String id);

    void deleteById(String id);

    void updateReleaseStatusById(List<String> id, String toString);

    void updateById(EarthquakeDisaster param);

    void exportData(HttpServletResponse response, String id);

    String reportImport(InputStream inputStream);

    void dockingBasicDataSystem(BasicDataSystemInfoVo basicDataSystemInfoVo) throws Exception;

    void basicDataUpdate(BasicDataSystemInfoVo basicDataSystemInfoVo) throws Exception;
}
